package com.yangfei.SportAssistant.mapProvider;

import com.google.android.maps.GeoPoint;

public class GeoPointYf
{
	int mlatitudeE6;
	int mlongitudeE6;

	public GeoPointYf(int latitudeE6, int longitudeE6)
	{
		mlatitudeE6 = latitudeE6;
		mlongitudeE6 = longitudeE6;
	}
	
	public GeoPointYf(GeoPoint in)
	{
		mlatitudeE6 = in.getLatitudeE6();
		mlongitudeE6 = in.getLongitudeE6();
	}
	
	public GeoPoint ToGooglePoint()
	{
		return new GeoPoint(mlatitudeE6,mlongitudeE6);
	}

	public int getLatitudeE6()
	{
		return mlatitudeE6;
	}

	public int getLongitudeE6()
	{
		return mlongitudeE6;
	}

	public void setLatitudeE6(int latitudeE6)
	{
		mlatitudeE6 = latitudeE6;
	}

	public void setLongitudeE6(int longitudeE6)
	{
		mlongitudeE6 = longitudeE6;
	}
}
